package com.wisdytech.linkdcs.equipLifeCycle.malfunction.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.wisdytech.common.bean.Filter;
import com.wisdytech.linkdcs.equipLifeCycle.malfunction.model.MalfunctionDemo;
import com.wisdytech.linkdcs.system.model.SysDict;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chenbin
 * @since 2018-07-24
 */
public interface IMalfunctionDemoService{

	List<SysDict> listMalfunctionReasonBySearch(String search);

	void addDemo(MalfunctionDemo malfunctionDemo, String loginName);

	PageInfo<MalfunctionDemo> listDemoByFilter(String malfunctionType, String malfunctionTitle, Filter filter);

	MalfunctionDemo getDemoById(String pkId);

	void updateDemo(MalfunctionDemo malfunctionDemo, String loginName);

	void delDemoById(String pkIds);

	List<MalfunctionDemo> selectDemoByTitle(String search);

}
